//生成随机颜色

export const getRandomColor = ()=>{
    let rgb = []
    for (let i=0;i++;i<3){
        let j = Math.floor(Math.random()*256).toString(16)
        if(j.length < 2){
            j = '0'+j
        }
        rgb.push(j)
    }
    return '#'+rgb.join('')
}